package com.itheima.design.mode.factory.method;

/**
 * 雪糕的工厂，负责生产雪糕
 */
public class IceCreamFactory implements Factory {

    @Override
    public Product factory() {
        return new IceCream();
    }
}
